<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>多图上传</title>
</head>
<body>
<table class="table">
    <tr>
        <th>ID</th>
        <th>图片名称</th>
        <th>图片</th>
    </tr>
    {foreach $data as $k=>$v}
        <tr>
            <td>{$v.id}</td>
            <td>{$v.username}</td>
            <td>
<!--                多张图片，所以需要循环-->
                {foreach $v.img as $k=>$vo}
                <img src="{$vo}" style="width:80px">
                {/foreach}
            </td>
        </tr>
    {/foreach}
</table>
</body>
</html>